#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int arr[7] = {12,13,14,15,16,17,18};
	int arr2[7] = {1,2,3,4,5,6,7};
	int a = 0;
	for (a = 0; a < 7; a++)
	{
		int A = arr[a];
		arr[a] = arr2[a];
		arr2[a] = A;
	}
	for (a = 0; a < 7; a++)
	{
		printf("%d ", arr[a]);
	}
	printf("\n");

	for (a = 0; a < 7; a++)
	{
		printf("%d ", arr2[a]);
	}
	printf("\n");
	return 0;
}